body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #F9FAFB;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 顶部导航栏样式 */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(145deg, #6C63FF, #4E4BFF);
    padding: 15px 25px;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #FFD700;
}

.navbar-nav img {
    margin-right: 15px;
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.navbar-nav img:hover {
    transform: scale(1.1);
}

.navbar-nav span {
    vertical-align: middle;
}

/* 左侧导航栏样式 */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 220px;
    background-color: #2C3E50;
    color: #BDC3C7;
    padding-top: 20px;
    overflow-y: auto;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
}

/* 非悬停状态下的菜单项 */
.sidebar .list-group-item {
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    color: #BDC3C7;
    transition: background-color 0.3s, color 0.3s;
}

/* 鼠标悬停时的菜单项 */
.sidebar .list-group-item:hover {
    background-color: #3498DB;
    color: #fff;
}

/* 图标和文本之间的间距 */
.sidebar .list-group-item i {
    margin-right: 10px;
}

/* 主要内容区域 */
.main-content {
    margin-left: 220px;
    margin-top: 80px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;  /* 白色背景 */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 搜索和筛选部分 */
.form-inline .form-group {
    margin-right: 15px;
}

.form-inline input,
.form-inline select {
    width: 200px;
    padding: 8px;
    border-radius: 4px;  /* 增加圆角 */
    border: 1px solid #CED4DA;
}

.form-inline label {
    margin-right: 10px;
    font-size: 16px;
}

/* 按钮样式 */
.btn-primary {
    background-color: #007BFF;  /* 蓝色 */
    border: none;
}

.btn-primary:hover {
    background-color: #0056B3; /* 深蓝色 */
}

/* 表格样式 */
.table th,
.table td {
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F9F9F9; /* 浅灰色背景 */
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #FFFFFF; /* 白色背景 */
}

/* 按钮组 */
.btn-group button {
    margin-right: 5px;
    padding: 8px 12px;
    border-radius: 4px;  /* 圆角 */
    border: 1px solid #D1D8E0;  /* 边框颜色 */
}

.btn-sm {
    font-size: 14px;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination li {
    margin-right: 8px;
}

.pagination li a {
    padding: 8px 18px;
    background: linear-gradient(145deg, #8E44AD, #9B59B6);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pagination li a:hover {
    background: linear-gradient(145deg, #9B59B6, #8E44AD);
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.pagination li a:focus {
    outline: none;
}
